package com.love_weinuo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/3/16.
 */

public class LandListCallBackBean implements Serializable{

    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"area":"1424","landarea":949920.875,"perimeter":3704.6282,"name":"圣墟","id":46,"state":"0","point":"34.76949074075356,113.76963241973525;34.76982454132813,113.77769513989608;34.764024151144035,113.78055571576154;34.75915767842979,113.7759798672604;34.762930128731725,113.76924752274819;34.76605240609948,113.7671272365582"},{"area":"1127","landarea":751430.8125,"perimeter":3296.7068,"name":"巴图姆","id":47,"state":"0","point":"34.75859135529685,113.77500756650915;34.75957746019071,113.7795284297264;34.7587720502593,113.7822280730537;34.753907471682,113.7815280165128;34.750391354365,113.78004877826638;34.7496023836296,113.77418815166911;34.75428651142889,113.77212687407642;34.75"},{"area":"1354","landarea":902762.0625,"perimeter":10816.9697,"name":"春丽","id":48,"state":"0","point":"34.756125490619425,113.76308246543293;34.756963981018025,113.76552193449024;34.75563296995058,113.77028285541024;34.75111310171884,113.7737040129502;34.746544499863475,113.77206384216565;34.74623154249045,113.76502170251753;34.7520001260868,113.7626224665"},{"area":"794","landarea":529568.375,"perimeter":2764.478,"name":"光辉","id":49,"state":"0","point":"34.75924692354973,113.76886396686562;34.76069356247022,113.77252518210832;34.759755949426626,113.77692534592198;34.75316591505276,113.77654581335287;34.75295325345347,113.7719646004338;34.75660037913123,113.76829131525075"}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity implements Serializable{
        /**
         * res : [{"area":"1424","landarea":949920.875,"perimeter":3704.6282,"name":"圣墟","id":46,"state":"0","point":"34.76949074075356,113.76963241973525;34.76982454132813,113.77769513989608;34.764024151144035,113.78055571576154;34.75915767842979,113.7759798672604;34.762930128731725,113.76924752274819;34.76605240609948,113.7671272365582"},{"area":"1127","landarea":751430.8125,"perimeter":3296.7068,"name":"巴图姆","id":47,"state":"0","point":"34.75859135529685,113.77500756650915;34.75957746019071,113.7795284297264;34.7587720502593,113.7822280730537;34.753907471682,113.7815280165128;34.750391354365,113.78004877826638;34.7496023836296,113.77418815166911;34.75428651142889,113.77212687407642;34.75"},{"area":"1354","landarea":902762.0625,"perimeter":10816.9697,"name":"春丽","id":48,"state":"0","point":"34.756125490619425,113.76308246543293;34.756963981018025,113.76552193449024;34.75563296995058,113.77028285541024;34.75111310171884,113.7737040129502;34.746544499863475,113.77206384216565;34.74623154249045,113.76502170251753;34.7520001260868,113.7626224665"},{"area":"794","landarea":529568.375,"perimeter":2764.478,"name":"光辉","id":49,"state":"0","point":"34.75924692354973,113.76886396686562;34.76069356247022,113.77252518210832;34.759755949426626,113.77692534592198;34.75316591505276,113.77654581335287;34.75295325345347,113.7719646004338;34.75660037913123,113.76829131525075"}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public static class ResEntity implements Serializable{
            /**
             * area : 1424
             * landarea : 949920.875
             * perimeter : 3704.6282
             * name : 圣墟
             * id : 46
             * state : 0
             * point : 34.76949074075356,113.76963241973525;34.76982454132813,113.77769513989608;34.764024151144035,113.78055571576154;34.75915767842979,113.7759798672604;34.762930128731725,113.76924752274819;34.76605240609948,113.7671272365582
             */
            private String area;
            private double landarea;
            private double perimeter;
            private String name;
            private int id;
            private String state;
            private String point;
            private String drugname;
            private int drugid;

            public ResEntity(String area,double landarea,double perimeter,String name,
                             int id,String state,String point,String drugname ,
                             int drugid){
                this.area = area;
                this.landarea = landarea;
                this.perimeter = perimeter;
                this.name = name;
                this.id = id;
                this.state = state;
                this.point = point;
                this.drugname = drugname;
                this.drugid = drugid;
            }

            public String getDrugname() {
                return drugname;
            }

            public void setDrugname(String drugname) {
                this.drugname = drugname;
            }

            public int getDrugid() {
                return drugid;
            }

            public void setDrugid(int drugid) {
                this.drugid = drugid;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public void setLandarea(double landarea) {
                this.landarea = landarea;
            }

            public void setPerimeter(double perimeter) {
                this.perimeter = perimeter;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setState(String state) {
                this.state = state;
            }

            public void setPoint(String point) {
                this.point = point;
            }

            public String getArea() {
                return area;
            }

            public double getLandarea() {
                return landarea;
            }

            public double getPerimeter() {
                return perimeter;
            }

            public String getName() {
                return name;
            }

            public int getId() {
                return id;
            }

            public String getState() {
                return state;
            }

            public String getPoint() {
                return point;
            }
        }
    }
}
